package com.hjj.services;

import com.hjj.beans.Question;
import com.hjj.mapper.QuestionMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.ArrayList;

@Service
public class QuestionServicesImp implements QuestionServices{
    @Autowired
    QuestionMapper questionMapper;

    @Override
    public ArrayList<Question> getAll() {
        return questionMapper.getAll();
    }

}
